import Vue from 'vue'
import Router from 'vue-router'
import ChildA from '@/components/ChildA'
import ChildB from '@/components/ChildB'
import ChildC from '@/components/ChildC'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'ChildA',
      component: ChildA
    },
    {
      path: '/childB',
      name: 'ChildB',
      component: ChildB
    },
    {
      path: '/childC',
      name: 'ChildC',
      component: ChildC
    },
  ]
})
